<template>
    <div>
        <!-- 公共轮播图 -->
        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="item in list" :key="item.id" :style="{'background': 'url(' + item.img + ')no-repeat'}"></mt-swipe-item>
        </mt-swipe>
    </div>
</template>

<script>
export default {
    props: ["list"]
}
</script>

<style scoped>

</style>
